export enum ERowSateAction {
    USERNAME = "USERNAME",
    FIRSTNAME = "FIRSTNAME",
    MIDDLENAME = "MIDDLENAME",
    LASTNAME = "LASTNAME",
    EMAIL = "EMAIL"
}

export interface IRowState {
    isDisplayedUserName: boolean;
    isDisplayedFirstName: boolean;
    isDisplayedMiddleName: boolean;
    isDisplayedLastName: boolean;
    isDisplayedEmail: boolean;
}

export interface IRowStateAction {
    type: ERowSateAction;
    payload: boolean;
}

/**
 * @typedef { React.ChangeEvent<HTMLInputElement> | File[] } TChangeInput - Тип, принимающий 
 * либо события изменения поля ввода, либо массив файлов.
 */
export type TChangeInput = React.ChangeEvent<HTMLInputElement> | File[];